package com.goldgov.synchronous.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.goldgov.meetingstatistics.bean.MeetingParamsBean;
import com.goldgov.synchronous.service.ConferenceSynchronous;


@Mapper
public interface ConferenceSynchronousDao {
	
	
	int addConSynchronous(ConferenceSynchronous conSynchronous);
//	void addConSynchronousList(List<ConferenceSynchronous> conSynchronousList);
	
	int updateConSynchronous(ConferenceSynchronous conSynchronous);
//	void updateConSynchronousList(List<ConferenceSynchronous> conSynchronousList);
	
	ConferenceSynchronous findConSynchronous(@Param("organizationID")String organizationID,@Param("statisticsDate")Date statisticsDate);
	
	List<ConferenceSynchronous> findConTypeNumByYearOrMonth(MeetingParamsBean meetingParamsBean);
	List<ConferenceSynchronous> findDistanceLearningNumByYearOrMonth(MeetingParamsBean meetingParamsBean);
	
}
